package com.tjdr.his.common.result;

/**
 * @author 尹书岿
 * @date 2019/5/30
 * @description 操作结果枚举
 */
public enum ResultCode {

    OPTION_SUCCESS(2000, "操作成功"),
    OPTION_FAILURE(2001, "操作失败");

    private int code;
    private String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
